package org.xuyuji.study.account.persist;

import org.xuyuji.study.account.persist.exception.AccountPersistException;

public interface AccountPersistServer {
	Account createAccount(Account account) throws AccountPersistException;
	
	Account readAccount(String id) throws AccountPersistException;
	
	Account updateAccount(Account account) throws AccountPersistException;
	
	void deleteAccount(String id) throws AccountPersistException;
}
